Book Contents

Causes of run-time errors for the Interlocked push button

At run time the application logs errors about the Interlocked push button to diagnostics under these circumstances:

Invalid values

  • If the button value is too large for the data type of the tag assigned to the Value connection, or if the value is outside the assigned tag’s minimum and maximum values, the application does not write the value to the Value connection, the state does not change, and the application logs an error.

    For example, the state value is too large for the tag’s data type if your data source is a PLC-5, the state value is 2,147,483,647, and the assigned tag is an integer tag using the address N7:0. Integer tags have a range of -32,768 to 32,767.

Unassigned connections

  • If the Value connection is not assigned, the application sets the button to State 0 and logs an error.

See also

Create Interlocked push buttons

Configure the Interlocked push button (General tab)

Set up states for the Interlocked push button (States tab)

Set up controls for the Interlocked push button (Connections tab)

How the Interlocked push button works at run time

Example: Use Interlocked push buttons